Concatenating string using for loop makes it begin with 'undefined'

welcome to shbcf.ru